package libcore.net.core;//package org.jaaksi.libcore.net.core;
//
//import okhttp3.OkHttpClient;
//import org.jaaksi.libcore.net.interceptor.HeaderInterceptor;
//
///**
// * 示例代码，在业务代码中创建HttpClient，添加header
// */
//public class HttpClient extends BaseOkHttpCreator {
//
//  @Override
//  public OkHttpClient.Builder customize(OkHttpClient.Builder builder) {
//    builder.addInterceptor(new HeaderInterceptor() {
//      @Override
//      public void initHeaders() {
//        //String token = StoreConfig.getInstance().getToken();
//        String token = "token";
//        if (token != null) {
//          addHeader("token", token);
//        }
//      }
//    });
//    return builder;
//  }
//}
